package com.wutma.system.service.sysuser;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wutma.common.core.domain.R;
import com.wutma.common.core.domain.vo.LoginUserVO;
import com.wutma.system.domain.sysuser.dto.LoginDTO;
import com.wutma.system.domain.sysuser.entity.SysUser;
import com.wutma.system.domain.sysuser.dto.SysUserSaveDTO;

public interface SysUserService extends IService<SysUser> {
    R<String> login(LoginDTO loginDTO);

    boolean logout(String token);

    R<LoginUserVO> info(String token);

    int add(SysUserSaveDTO sysUserSaveDTO);

}
